package com.zmj.framework.base.vo;

import lombok.Data;

import java.util.ArrayList;
import java.util.List;

@Data
public class TreeNode {
    protected String id;
    protected String parentId;
    List children = new ArrayList();

    public void add(TreeNode node){
        children.add(node);
    }
}
